package com.liaoyifan.core.constant;

import java.time.ZoneId;
import org.springframework.util.AntPathMatcher;

@SuppressWarnings("unused")
public interface Constants {

    AntPathMatcher PATH_MATCHER = new AntPathMatcher();

    String DATE_PATTERN = "yyyy-MM-dd";

    String DATETIME_PATTERN = "yyyy-MM-dd HH:mm:ss";

    ZoneId UTC_ZONE = ZoneId.of("UTC");

    ZoneId CHINA_ZONE = ZoneId.of("Asia/Shanghai");

    int CPU_COUNT = Runtime.getRuntime().availableProcessors();

    String GUEST = "guest";

    String REFRESH_TOKEN = "refreshToken";

    int ZERO = 0;

    int ONE = 1;

    String TRUE = "true";

    String DEFAULT = "default";

    String DEV = "dev";

    String TEST = "test";

    String RELEASE = "release";
}
